import type { RouteRecordRaw } from "vue-router";

const basicRouteList: RouteRecordRaw[] = [
  {
    path: "/",
    redirect: "/device-maintenance/home"
  },
  {
    path: "/device-maintenance",
    component: () => import("@/components/MainLayout.vue"),
    children: [
      {
        path: "home",
        name: "device-maintenance-home",
        component: () => import("@/views/device-ops/DeviceHomeView.vue")
      }
    ]
  },
  {
    path: "/device-maintenance",
    component: () => import("@/components/MainLayout.vue"),
    children: [
      {
        path: "maintenance",
        name: "device-maintenance-maintenance",
        component: () => import("@/views/device-ops/MaintenanceView.vue")
      }
    ]
  }
];

export default basicRouteList;
